package com.diaosidadui.array;

public class Test100 {
    public static void main(String[] args) {
        int[] arr = new int[106];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = i + 1;
        }
/*        int count = 0;
        for (int i = 0; i < arr.length; i++) {
            count++;
            if (count == 10) {
                System.out.print(arr[i] + "\t\t");
                System.out.println();
                count = 0;
            } else {
                System.out.print(arr[i] + "\t\t");
            }
        }*/
        int count1 = 0,count2 =105;
        loop:
        for (int i = 0; i < arr.length; i++) {


            for (int j = 0; j <= i; j++) {
                if (arr[count1] > 105) {
                    break loop;
                } else {
                    System.out.print(arr[count1] + "\t\t");
                    count1++;
                }

            }
            System.out.println();
        }

    }


}

